package com.woniu.model;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 文章表
 * </p>
 *
 * @author Kevin Kwok
 * @since 2021-04-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class EArtical implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer uid;

    /**
     * 文章内容
     */
    private String content;

    /**
     * 时间
     */
    private Date time;

    /**
     * 评论
     */
    private String comments;

    /**
     * 文章标题
     */
    private String title;

    /**
     * 添加时间
     */
    private Date rawAddTime;

    /**
     * 更新时间
     */
    private Date rawUpdateTime;

    /**
     * 类型
     */
    private Integer type;

    /**
     * 图片
     */
    private String total;


}
